{% extends 'base.html' %}
{%block you%}11{%endblock%}
{%block aaa%}<h1>哈哈啊哈11223344</h1>
<form method="post" novalidate>
    {% csrf_token %}
    {%for i in form%}
        <div>{{i.label}}:{{i}}</div><span>{{i.errors.0}}</span>
    {%endfor%}

    <input type="submit" value="提交">
</form>
{%endblock%}

{%block title%}我是title{%endblock%}
{%block hide%}
<input type="hidden" name="id">
<hr>
<!--{{data}}-->
{%if data%}

    <ul>
    {%for i in data%}
        <li>{{i.id}}---{{i.name}}</li>
    {%endfor%}
    </ul>
{%else%}
    <h1>没有数据</h1>
{%endif%}
<hr>
{{html_str}}
<hr>

<hr>
{%endblock%}

